FROM openjdk:8-jre-alpine
VOLUME /gateway2/
ADD ./target/gateway2-1.0.jar ./
ADD ./gateway2-docker.yml ./
CMD ["cat","gateway2-docker.yml"]
ENTRYPOINT ["java","-jar","gateway2-1.0.jar","--spring.config.location=gateway2-docker.yml"]
EXPOSE 8889
